<?php

namespace App\Models;

use App\Library\Models\Entity;
use App\Library\Traits\Orm\PaymentRelatedOrmTrait;

class PaymentRelatedModel extends Entity
{
    use PaymentRelatedOrmTrait;

    protected $table = 'payment_related';
    
    protected $casts = ['config' => 'json'];

    protected $fillable = [
        'id',
        'serial_number',
        'order_sn',
        'object_type',
        'object_id',
        'payment_method_id',
        'status_pay',
        'status_refund',
        'method',
        'config',
        'created_at',
        'updated_at'
    ];
}
